package com.hxut.mapper;

import com.hxut.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxut.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MR.S
 * @since 2022-06-21
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<Long> getMenuIds(Long userId);

    List<SysUser> listByMenuId(Long menuId);

}
